package cn.kgc.tangcco.work01_10.service.Impl;

import cn.kgc.tangcco.work01_10.mapper.FaqsMapper;
import cn.kgc.tangcco.work01_10.pojo.Faqs;
import cn.kgc.tangcco.work01_10.service.FaqsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
 @Service("faqsService")
public class FaqsServiceImpl implements FaqsService {
       @Resource
      private  FaqsMapper faqsMapper;
    @Override
    public List<Faqs> selects(String title) {
        return faqsMapper.selects(title) ;
    }

    @Override
    public int inserts(Faqs faqs) {
        return  faqsMapper.inserts(faqs);
    }

     @Override
     public Faqs xiangqing(Integer id) {
         return faqsMapper.xiangqing(id);
     }
 }
